<?xml version="1.0" standalone="yes"?>
<mi:PackageInstaller xmlns:mi="http://www.composite.net/ns/management/packageinstaller/1.0">
	<mi:PackageRequirements minimumCompositeVersion="5.0.5728.0" maximumCompositeVersion="9.9999.9999.9999" />
	<mi:PackageInformation name="Composite.News" groupName="Composite.News" version="2.2.1" readMoreUrl="http://docs.composite.net/Composite.News" author="Composite A/S" website="www.composite.net" id="8c2dfc2d-1fcb-47c6-9faa-de80c384a66f" canBeUninstalled="true" systemLocking="hard" flushOnCompletion="true">
		<Description>Allows visitors to read the latest news on a website. Supports a news archive and export to RSS.</Description>
		<TechnicalDetails>Stores news items in a page data folder added to a page via the News application. Implements news teasers and news list as Razor functions. The news list function presents  all the news (list) or the content of a selected news item (details).</TechnicalDetails>
	</mi:PackageInformation>
	<mi:PackageFragmentInstallerBinaries>
		<mi:Add path="~\Bin\Composite.News.dll" />
	</mi:PackageFragmentInstallerBinaries>
	<mi:PackageFragmentInstallers>
		
		<mi:Add installerType="Composite.Core.PackageSystem.PackageFragmentInstallers.FilePackageFragmentInstaller, Composite" uninstallerType="Composite.Core.PackageSystem.PackageFragmentInstallers.FilePackageFragmentUninstaller, Composite">
			<Files>
				<File sourceFilename="~\NewsRssFeed.ashx" targetFilename="~\NewsRssFeed.ashx" allowOverwrite="false" />
				<File sourceFilename="~\Bin\Composite.News.dll" targetFilename="~\Bin\Composite.News.dll" allowOverwrite="false" />
				<File sourceFilename="~\App_Data\Composite\TreeDefinitions\Composite.News.xml" targetFilename="~\App_Data\Composite\TreeDefinitions\Composite.News.xml" allowOverwrite="false" />
				<File sourceFilename="~\App_Data\Composite\DynamicTypeForms\Composite\News\NewsItem.xml" targetFilename="~\App_Data\Composite\DynamicTypeForms\Composite\News\NewsItem.xml" allowOverwrite="false" />
        <File sourceFilename="~\App_Data/Razor/Composite/News/NewsLatest.cshtml" targetFilename="~\App_Data/Razor/Composite/News/NewsLatest.cshtml" allowOverwrite="false" />
        <File sourceFilename="~\App_Data/Razor/Composite/News/NewsList.cshtml" targetFilename="~\App_Data/Razor/Composite/News/NewsList.cshtml" allowOverwrite="false" />
			</Files>
			<Directories>
				<Directory sourceDirectory="~\App_GlobalResources\Composite\News\" targetDirectory="~\App_GlobalResources\Composite\News\" allowOverwrite="true" deleteTargetDirectory="false" />
			</Directories>
		</mi:Add>
		<mi:Add installerType="Composite.Core.PackageSystem.PackageFragmentInstallers.DynamicDataTypePackageFragmentInstaller, Composite" uninstallerType="Composite.Core.PackageSystem.PackageFragmentInstallers.DynamicDataTypePackageFragmentUninstaller, Composite">
			<Types>
				<Type providerName="GeneratedDataTypesElementProvider" dataTypeDescriptor="&lt;DataTypeDescriptor dataTypeId=&quot;1b10a02e-2bcb-4e84-bcab-4a7d9cfc2e76&quot; name=&quot;NewsItem&quot; namespace=&quot;Composite.News&quot; title=&quot;News&quot; hasCustomPhysicalSortOrder=&quot;false&quot; isCodeGenerated=&quot;true&quot; cachable=&quot;false&quot; labelFieldName=&quot;Title&quot; internalUrlPrefix=&quot;newsItem&quot; typeManagerTypeName=&quot;DynamicType:Composite.News.NewsItem&quot; version=&quot;2&quot;&gt;&#xD;&#xA;  &lt;DataAssociations /&gt;&#xD;&#xA;  &lt;DataScopes&gt;&#xD;&#xA;    &lt;DataScopeIdentifier name=&quot;public&quot; /&gt;&#xD;&#xA;    &lt;DataScopeIdentifier name=&quot;administrated&quot; /&gt;&#xD;&#xA;  &lt;/DataScopes&gt;&#xD;&#xA;  &lt;KeyPropertyNames&gt;&#xD;&#xA;    &lt;KeyPropertyName name=&quot;Id&quot; /&gt;&#xD;&#xA;  &lt;/KeyPropertyNames&gt;&#xD;&#xA;  &lt;SuperInterfaces&gt;&#xD;&#xA;    &lt;SuperInterface type=&quot;Composite.Data.ProcessControlled.IPublishControlled,Composite&quot; /&gt;&#xD;&#xA;    &lt;SuperInterface type=&quot;Composite.Data.ProcessControlled.IProcessControlled,Composite&quot; /&gt;&#xD;&#xA;    &lt;SuperInterface type=&quot;Composite.Data.IPageData,Composite&quot; /&gt;&#xD;&#xA;    &lt;SuperInterface type=&quot;Composite.Data.IPageFolderData,Composite&quot; /&gt;&#xD;&#xA;  &lt;/SuperInterfaces&gt;&#xD;&#xA;  &lt;Fields&gt;&#xD;&#xA;    &lt;DataFieldDescriptor id=&quot;5780e9f3-20b0-488d-8715-5b1b415b5813&quot; name=&quot;Title&quot; isNullable=&quot;false&quot; position=&quot;0&quot; groupByPriority=&quot;0&quot; inherited=&quot;false&quot; instanceType=&quot;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; storeType=&quot;PhysicalStoreType='String'Length='1024'&quot; defaultValue=&quot;ValueType='String'Value=''&quot;&gt;&#xD;&#xA;      &lt;FormRenderingProfile label=&quot;Title&quot; helpText=&quot;The title of the news item&quot; widgetFunctionMarkup=&quot;&amp;lt;f:widgetfunction xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; name=&amp;quot;Composite.Widgets.String.TextBox&amp;quot; label=&amp;quot;&amp;quot; bindingsourcename=&amp;quot;&amp;quot;&amp;gt;&amp;lt;f:helpdefinition xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; helptext=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/f:widgetfunction&amp;gt;&quot; /&gt;&#xD;&#xA;      &lt;ValidationFunctionMarkups /&gt;&#xD;&#xA;    &lt;/DataFieldDescriptor&gt;&#xD;&#xA;    &lt;DataFieldDescriptor id=&quot;c36fd719-aa27-4d8c-a4d5-eb228ed0e7ef&quot; name=&quot;Date&quot; isNullable=&quot;false&quot; position=&quot;1&quot; groupByPriority=&quot;1&quot; inherited=&quot;false&quot; instanceType=&quot;System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; storeType=&quot;PhysicalStoreType='DateTime'&quot; newInstanceDefaultFieldValue=&quot;&amp;lt;f:function xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; name=&amp;quot;Composite.Utils.Date.Now&amp;quot; /&amp;gt;&quot; defaultValue=&quot;ValueType='DateTimeNow'Value='11/2/2010\ 1:13:45\ PM'&quot;&gt;&#xD;&#xA;      &lt;FormRenderingProfile label=&quot;Date&quot; helpText=&quot;The date of the news item&quot; widgetFunctionMarkup=&quot;&amp;lt;f:widgetfunction xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; name=&amp;quot;Composite.Widgets.Date.DateTimeSelector&amp;quot; label=&amp;quot;&amp;quot; bindingsourcename=&amp;quot;&amp;quot;&amp;gt;&amp;lt;f:helpdefinition xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; helptext=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/f:widgetfunction&amp;gt;&quot; /&gt;&#xD;&#xA;      &lt;ValidationFunctionMarkups /&gt;&#xD;&#xA;    &lt;/DataFieldDescriptor&gt;&#xD;&#xA;    &lt;DataFieldDescriptor id=&quot;e276f8bd-16c7-4c10-948d-9b5ef9934134&quot; name=&quot;Teaser&quot; isNullable=&quot;false&quot; position=&quot;2&quot; groupByPriority=&quot;0&quot; inherited=&quot;false&quot; instanceType=&quot;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; storeType=&quot;PhysicalStoreType='String'Length='1024'&quot; defaultValue=&quot;ValueType='String'Value=''&quot;&gt;&#xD;&#xA;      &lt;FormRenderingProfile label=&quot;Teaser&quot; helpText=&quot;The short description of the news item&quot; widgetFunctionMarkup=&quot;&amp;lt;f:widgetfunction xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; name=&amp;quot;Composite.Widgets.String.TextArea&amp;quot; label=&amp;quot;&amp;quot; bindingsourcename=&amp;quot;&amp;quot;&amp;gt;&amp;lt;f:helpdefinition xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; helptext=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/f:widgetfunction&amp;gt;&quot; /&gt;&#xD;&#xA;      &lt;ValidationFunctionMarkups /&gt;&#xD;&#xA;    &lt;/DataFieldDescriptor&gt;&#xD;&#xA;    &lt;DataFieldDescriptor id=&quot;3a2a99bc-6307-4d78-9a49-ec8d224eea97&quot; name=&quot;Description&quot; isNullable=&quot;false&quot; position=&quot;3&quot; groupByPriority=&quot;0&quot; inherited=&quot;false&quot; instanceType=&quot;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; storeType=&quot;PhysicalStoreType='LargeString'&quot; defaultValue=&quot;ValueType='String'Value=''&quot;&gt;&#xD;&#xA;      &lt;FormRenderingProfile label=&quot;Description&quot; helpText=&quot;Description&quot; widgetFunctionMarkup=&quot;&amp;lt;f:widgetfunction xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; name=&amp;quot;Composite.Widgets.String.VisualXhtmlEditor&amp;quot; label=&amp;quot;&amp;quot; bindingsourcename=&amp;quot;&amp;quot;&amp;gt;&amp;lt;f:helpdefinition xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; helptext=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/f:widgetfunction&amp;gt;&quot; /&gt;&#xD;&#xA;      &lt;ValidationFunctionMarkups /&gt;&#xD;&#xA;    &lt;/DataFieldDescriptor&gt;&#xD;&#xA;    &lt;DataFieldDescriptor id=&quot;5d9d291c-40f3-4aab-8ed9-37b9143429b8&quot; name=&quot;TitleUrl&quot; isNullable=&quot;true&quot; position=&quot;4&quot; groupByPriority=&quot;0&quot; inherited=&quot;false&quot; instanceType=&quot;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; storeType=&quot;PhysicalStoreType='String'Length='1024'&quot;&gt;&#xD;&#xA;      &lt;FormRenderingProfile label=&quot;TitleUrl&quot; helpText=&quot;&quot; widgetFunctionMarkup=&quot;&amp;lt;f:widgetfunction xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; name=&amp;quot;Composite.Widgets.String.TextBox&amp;quot; label=&amp;quot;&amp;quot; bindingsourcename=&amp;quot;&amp;quot;&amp;gt;&amp;lt;f:helpdefinition xmlns:f=&amp;quot;http://www.composite.net/ns/function/1.0&amp;quot; helptext=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/f:widgetfunction&amp;gt;&quot; /&gt;&#xD;&#xA;      &lt;ValidationFunctionMarkups /&gt;&#xD;&#xA;    &lt;/DataFieldDescriptor&gt;&#xD;&#xA;  &lt;/Fields&gt;&#xD;&#xA;&lt;/DataTypeDescriptor&gt;" />
			</Types>
		</mi:Add>
		<mi:Add installerType="Composite.Core.PackageSystem.PackageFragmentInstallers.DataPackageFragmentInstaller, Composite" uninstallerType="Composite.Core.PackageSystem.PackageFragmentInstallers.DataPackageFragmentUninstaller, Composite">
			<Types>
				<Type type="Composite.Data.Types.IPageType,Composite">
					<Data dataScopeIdentifier="public" dataFilename="~\Datas\Composite.Data.Types.IPageTypes_public.xml" />
				</Type>
				<Type type="Composite.Data.Types.IPageTypeDefaultPageContent,Composite">
					<Data dataScopeIdentifier="public" dataFilename="~\Datas\Composite.Data.Types.IPageTypeDefaultPageContents_public.xml" />
				</Type>
				<Type type="Composite.Data.Types.IPageTypeTreeLink,Composite">
					<Data dataScopeIdentifier="public" dataFilename="~\Datas\Composite.Data.Types.IPageTypeTreeLinks_public.xml" />
				</Type>
			</Types>
		</mi:Add>
	</mi:PackageFragmentInstallers>
</mi:PackageInstaller>